package com.hsnn.medstgmini.base.std.dao;

import java.util.List;

import com.hsnn.medstgmini.base.dict.model.DicSys;
import com.hsnn.medstgmini.base.std.model.StdDrugInfo;
import com.hsnn.medstgmini.base.std.model.StdDruginfoDetail;
import com.hsnn.medstgmini.base.std.model.StdDruginfoDetailLog;
import com.hsnn.medstgmini.base.std.model.StdDruginfoLog;
import com.hsnn.medstgmini.base.std.model.form.StdDrugInfoForm;
import com.hsnn.medstgmini.util.Pagination;

public interface StdDrugInfoDao {

	public Pagination getAllByPage(Pagination page);
	public String addData(StdDrugInfoForm form);
	public StdDrugInfo getDrugInfo(String id);
	public StdDruginfoDetail getDrugInfoDetail(String id);
	public String editInfo(StdDrugInfoForm form);
	public String startOrStop(String id, Short statu,String userId);
	public StdDruginfoLog getLogInfo(String logid);
	public StdDruginfoDetailLog getLogInfoDetail(String logid);
	public String batchStartOrStop(List<StdDrugInfo> list);
	public Pagination getDrugInfoLogList(Pagination page);
	public StdDruginfoLog getPreviousLog(String logid,String date);
	public StdDrugInfo getMergeDrugInfo(String drugId);
	public Pagination getValidDrugInfoList (Pagination page);
	public String drugInfoMerge(String drugOId,String drugId);
	public DicSys getDicSys(String typecode,String value);
	public StdDrugInfo getDrugInfoByCode(String code);
	
}
